Commit d6bb247
LibWeb: Reject non-exclusive
This updates the `parse_text_decoration_line_value` to reject values
which non-exclusively include `none` e.g. `underline none`.
It also simplifies handling by always producing a Vector (except for
`none`) and adding VERIFY_NOT_REACHED in more places which shouldn't be
reachable.none in text-decoration-line1 parent 5c0fdd3 commit d6bb247
File tree
4 files changed
+20
-13
lines changed- Libraries/LibWeb/CSS
- Parser
- Tests/LibWeb/Text
- expected/css
- input/css
4 files changed
+20
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1228 | 1231 | | |
1229 | 1232 | | |
1230 | 1233 | | |
| |||
1234 | 1237 | | |
1235 | 1238 | | |
1236 | 1239 | | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
| 1240 | + | |
1245 | 1241 | | |
1246 | 1242 | | |
1247 | 1243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4691 | 4691 | | |
4692 | 4692 | | |
4693 | 4693 | | |
4694 | | - | |
| 4694 | + | |
4695 | 4695 | | |
4696 | 4696 | | |
4697 | 4697 | | |
| |||
4703 | 4703 | | |
4704 | 4704 | | |
4705 | 4705 | | |
4706 | | - | |
| 4706 | + | |
4707 | 4707 | | |
4708 | 4708 | | |
4709 | 4709 | | |
| |||
4713 | 4713 | | |
4714 | 4714 | | |
4715 | 4715 | | |
4716 | | - | |
4717 | | - | |
4718 | | - | |
4719 | 4716 | | |
4720 | 4717 | | |
4721 | 4718 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments