layout: Don't crash if quotes: none is specified and generated content

uses quotes.

Avoids a crash on The Verge.
This commit is contained in:
Patrick Walton 2015-08-24 11:43:43 -07:00
parent 524b02dbf7
commit 35c67b22e5
7 changed files with 36 additions and 23 deletions

View file

@ -298,6 +298,7 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
== pre_with_tab.html pre_with_tab_ref.html
== pseudo_element_a.html pseudo_element_b.html
== pseudo_inherit.html pseudo_inherit_ref.html
== quotes_none_a.html quotes_none_ref.html
== quotes_simple_a.html quotes_simple_ref.html
== root_height_a.html root_height_b.html
== root_margin_collapse_a.html root_margin_collapse_b.html

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<style>
q {
quotes: none;
}
</style>
<q>Don't crash!

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
Don't crash!

View file

@ -1,3 +1,3 @@
[quotes-035.htm]
type: reftest
expected: CRASH
expected: FAIL

View file

@ -1,3 +1,3 @@
[quotes-035a.htm]
type: reftest
expected: CRASH
expected: FAIL

View file

@ -1,3 +1,3 @@
[quotes-036.htm]
type: reftest
expected: CRASH
expected: FAIL