LibWeb: Remove unnecessary FIXME marker for CSSStyleDeclaration.cssFloat
This commit is contained in:
parent
19fa630fa7
commit
4c94202e97
Notes:
sideshowbarker
2024-07-17 06:51:10 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/4c94202e97 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/168
3 changed files with 19 additions and 1 deletions
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);
|
||||
|
||||
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…
Add table
Reference in a new issue