LibWeb: Remove unnecessary FIXME marker for CSSStyleDeclaration.cssFloat

This commit is contained in:
Andreas Kling 2024-06-14 17:13:31 +02:00 committed by Andreas Kling
parent 19fa630fa7
commit 4c94202e97
Notes: sideshowbarker 2024-07-17 06:51:10 +09:00
3 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,2 @@
spanRule: [object CSSStyleRule] ~ span { float: right; }
spanRule.style.cssFloat: right

View 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>

View File

@ -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;
};