Re: [dev-servo] Image loading doesn't work - crashed

2013-02-12 Thread Brian Anderson
On 02/08/2013 04:51 PM, Brian Anderson wrote: On 02/07/2013 10:55 PM, ??? wrote: Samsung Enterprise Portal mySingle Dear All, Currently, Image loading in Servo(master branch) crashes since about middle of Junuary version. When I run servo executable with "./../src/test/demo.html" argument,

Re: [dev-servo] CSS parser architecture: data structures vs. callbacks

2013-02-12 Thread Robert O'Callahan
On Tue, Feb 12, 2013 at 9:29 PM, Nicholas Nethercote wrote: > That's fine so long as you don't have the equivalent of C's #line > defines. I don't know if CSS has them but JavaScript does (in source > maps) which makes things much more difficult. > CSS doesn't, but those #line defines just crea

Re: [dev-servo] CSS parser architecture: data structures vs. callbacks

2013-02-12 Thread Nicholas Nethercote
On Mon, Feb 11, 2013 at 10:37 PM, Robert O'Callahan wrote: > > Couldn't you just make it a pointer into the text of the style sheet? Then > an auxiliary data structure could be used to quickly extract a line number > given such a pointer. (E.g. for each 256 byte boundary in the style sheet, > stor