mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Auto merge of #8111 - gilles-leblanc:issue-8002, r=SimonSapin
Compute value of float according to position value According to CSS2 Section 9.7, if 'position' has a value of 'absolute' or 'fixed' the computed value of 'float' should be 'none'. This changes the float to a single_keyword_computed which checks the positioned value of the element to compute the float value. Fixes #8002 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8111) <!-- Reviewable:end -->
This commit is contained in:
commit
5070c873d0
3 changed files with 65 additions and 1 deletions
|
@ -4165,6 +4165,12 @@
|
|||
]
|
||||
},
|
||||
"testharness": {
|
||||
"css/float_relative_to_position.html": [
|
||||
{
|
||||
"path": "css/float_relative_to_position.html",
|
||||
"url": "/_mozilla/css/float_relative_to_position.html"
|
||||
}
|
||||
],
|
||||
"css/test_variable_legal_values.html": [
|
||||
{
|
||||
"path": "css/test_variable_legal_values.html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue