mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
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:
parent
524b02dbf7
commit
35c67b22e5
7 changed files with 36 additions and 23 deletions
|
@ -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
|
||||
|
|
7
tests/ref/quotes_none_a.html
Normal file
7
tests/ref/quotes_none_a.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
q {
|
||||
quotes: none;
|
||||
}
|
||||
</style>
|
||||
<q>Don't crash!
|
2
tests/ref/quotes_none_ref.html
Normal file
2
tests/ref/quotes_none_ref.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
Don't crash!
|
|
@ -1,3 +1,3 @@
|
|||
[quotes-035.htm]
|
||||
type: reftest
|
||||
expected: CRASH
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[quotes-035a.htm]
|
||||
type: reftest
|
||||
expected: CRASH
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[quotes-036.htm]
|
||||
type: reftest
|
||||
expected: CRASH
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue