mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Don't treat "--" as a valid custom property name
This is reserved for future use by CSS.
This commit is contained in:
committed by
Sam Atkins
parent
38765fd617
commit
bf37f3400e
Notes:
github-actions[bot]
2025-06-25 16:10:47 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/bf37f3400e2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5210 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2692">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1467309">
|
||||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
|
||||
<link rel="author" title="Mozilla" href="https://mozilla.org">
|
||||
<title>-- is a reserved property name</title>
|
||||
<script src="../../resources/testharness.js"></script>
|
||||
<script src="../../resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_false(CSS.supports("--", "initial"), "-- is a reserved property name");
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user