diff --git a/src/rust-netsurfcss b/src/rust-netsurfcss index 7458a7bbb95..6f7633390e7 160000 --- a/src/rust-netsurfcss +++ b/src/rust-netsurfcss @@ -1 +1 @@ -Subproject commit 7458a7bbb95fab0245f82c1b4b7e93779a2ab5e3 +Subproject commit 6f7633390e76a08ee2bb43fafdbe8ba5d0890896 diff --git a/src/servo/layout/box.rs b/src/servo/layout/box.rs index 433c61f5c88..dc9c73c5cbb 100644 --- a/src/servo/layout/box.rs +++ b/src/servo/layout/box.rs @@ -490,7 +490,7 @@ impl RenderBox : RenderBoxMethods { list.append_item(~DisplayItem::new_Border(&bounds, border_width, color)); } else { - fail ~"unimplemented border widths"; + warn!("ignoring unimplemented border widths"); } } (CSSBorderWidthMedium, @@ -500,7 +500,7 @@ impl RenderBox : RenderBoxMethods { // FIXME: This seems to be the default for non-root nodes. For now we'll ignore it warn!("ignoring medium border widths"); } - _ => fail ~"unimplemented border widths" + _ => warn!("ignoring unimplemented border widths") } } } diff --git a/src/test/acid1.html b/src/test/acid1.html new file mode 100644 index 00000000000..88d5b325bd2 --- /dev/null +++ b/src/test/acid1.html @@ -0,0 +1,183 @@ + +
+ ++ the world ends +
+ ++ + bar maids, + ++
+ This is a nonsensical document, but syntactically valid HTML 4.0. All + 100%-conformant CSS1 agents should be able to render the document +elements above this paragraph indistinguishably (to the pixel) from this + + reference rendering, + (except font rasterization and form widgets). All discrepancies +should be traceable to CSS1 implementation shortcomings. Once you have +finished evaluating this test, you can return to the parent page. +
+ + +