mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Accept zero values on some width
/height
attributes on table elements (#33425)
We were incorrectly using `AttrValue::from_nonzero_dimension` to parse some attributes, instead of `AttrValue::from_dimension`. Signed-off-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
4839cdf176
commit
b048bf80a4
7 changed files with 4 additions and 35 deletions
|
@ -1702,30 +1702,3 @@
|
|||
|
||||
[<source height="0px"> mapping to <img> height property]
|
||||
expected: FAIL
|
||||
|
||||
[<table height="0"> mapping to <table> height property]
|
||||
expected: FAIL
|
||||
|
||||
[<table height="0%"> mapping to <table> height property]
|
||||
expected: FAIL
|
||||
|
||||
[<table height="0px"> mapping to <table> height property]
|
||||
expected: FAIL
|
||||
|
||||
[<tr height="0"> mapping to <tr> height property]
|
||||
expected: FAIL
|
||||
|
||||
[<tr height="0%"> mapping to <tr> height property]
|
||||
expected: FAIL
|
||||
|
||||
[<tr height="0px"> mapping to <tr> height property]
|
||||
expected: FAIL
|
||||
|
||||
[<col width="0"> mapping to <col> width property]
|
||||
expected: FAIL
|
||||
|
||||
[<col width="0%"> mapping to <col> width property]
|
||||
expected: FAIL
|
||||
|
||||
[<col width="0px"> mapping to <col> width property]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[table-column-width.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[table-row-height.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue