mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-02 22:24:26 +00:00
LibWeb: Remove unnecessary FIXME marker for CSSStyleDeclaration.cssFloat
(cherry picked from commit 4c94202e9734099b6e2839f5495b8280eec2ab2f)
This commit is contained in:
parent
99851591b5
commit
7cd1114f05
2
Tests/LibWeb/Text/expected/css/cssFloat-property.txt
Normal file
2
Tests/LibWeb/Text/expected/css/cssFloat-property.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
spanRule: [object CSSStyleRule] ~ span { float: right; }
|
||||||
|
spanRule.style.cssFloat: right
|
13
Tests/LibWeb/Text/input/css/cssFloat-property.html
Normal file
13
Tests/LibWeb/Text/input/css/cssFloat-property.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<style>
|
||||||
|
span {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script src="../include.js"></script>
|
||||||
|
<script>
|
||||||
|
test(() => {
|
||||||
|
const spanRule = document.styleSheets[0].cssRules[0];
|
||||||
|
println("spanRule: " + spanRule + " ~ " + spanRule.cssText);
|
||||||
|
println("spanRule.style.cssFloat: " + spanRule.style.cssFloat);
|
||||||
|
});
|
||||||
|
</script>
|
|
@ -14,6 +14,9 @@ interface CSSStyleDeclaration {
|
||||||
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
||||||
|
|
||||||
readonly attribute CSSRule? parentRule;
|
readonly attribute CSSRule? parentRule;
|
||||||
[FIXME, CEReactions, LegacyNullToEmptyString] attribute CSSOMString cssFloat;
|
|
||||||
|
// NOTE: cssFloat is implemented manually in the bindings code, along with the other property accessors.
|
||||||
|
// Hence, this does not need to be implemented.
|
||||||
|
// [CEReactions, LegacyNullToEmptyString] attribute CSSOMString cssFloat;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue