mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 14:57:35 +00:00
LibWeb: Implement SVG opacity properties
This implements the stop-opacity, fill-opacity, and stroke-opacity properties (in CSS). This replaces the existing more ad-hoc fill-opacity attribute handling.
This commit is contained in:
parent
120e5b6b6f
commit
00cda96e2d
13 changed files with 141 additions and 29 deletions
|
@ -629,6 +629,15 @@
|
|||
"none"
|
||||
]
|
||||
},
|
||||
"fill-opacity": {
|
||||
"affects-layout": false,
|
||||
"inherited": true,
|
||||
"initial": "1",
|
||||
"valid-types": [
|
||||
"number",
|
||||
"percentage"
|
||||
]
|
||||
},
|
||||
"flex": {
|
||||
"inherited": false,
|
||||
"initial": "0 1 auto",
|
||||
|
@ -1406,6 +1415,15 @@
|
|||
"none"
|
||||
]
|
||||
},
|
||||
"stroke-opacity": {
|
||||
"affects-layout": false,
|
||||
"inherited": true,
|
||||
"initial": "1",
|
||||
"valid-types": [
|
||||
"number",
|
||||
"percentage"
|
||||
]
|
||||
},
|
||||
"stop-color": {
|
||||
"affects-layout": false,
|
||||
"inherited": false,
|
||||
|
@ -1414,6 +1432,15 @@
|
|||
"color"
|
||||
]
|
||||
},
|
||||
"stop-opacity": {
|
||||
"affects-layout": false,
|
||||
"inherited": false,
|
||||
"initial": "1",
|
||||
"valid-types": [
|
||||
"number",
|
||||
"percentage"
|
||||
]
|
||||
},
|
||||
"stroke-width": {
|
||||
"affects-layout": false,
|
||||
"inherited": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue