Files
ladybird/Tests/LibWeb/Text/input/wpt-import/css/mediaqueries/mq-unknown-feature-custom-property.html
Sam Atkins bb035fbfe0 Tests: Import a whole bunch of WPT mediaqueries tests
A lot of these are ref-tests, so I'm skipping the failing ones for now,
and will make as many pass as possible in subsequent commits.
2025-05-23 10:17:58 +01:00

14 lines
557 B
HTML

<!DOCTYPE html>
<title>Media Queries Test: Custom property name as media feature name</title>
<link rel="help" href="https://drafts.csswg.org/mediaqueries-4/#mq-syntax">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<style id="media_sheet">
@media (--FOO: bar) {}
</style>
<script>
test(() => {
assert_equals(media_sheet.sheet.cssRules[0].conditionText, "(--FOO: bar)")
}, "Serialization of <mf-name> : <mf-value> with custom property feature name and ident value");
</script>