trisquel-icecat/icecat/testing/web-platform/tests/css/css-highlight-api/highlight-text-cascade-ref.html
2025-10-06 02:35:48 -06:00

24 lines
576 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
#style1 {
background-color: yellow;
color:green;
}
#style2 {
background-color: blue;
color:red;
}
#style3 {
background-color: purple;
color:pink;
}
</style>
</head>
<body>
<div id="out"><span id="text1"><span id="style1">One</span> two three</span></div>
<div id="scoped"><span id="text2">four <span id="style2">five</span> six</span></div>
<span id="text3">seven eight nine</span>
</body>
</html>