[Webkit-unassigned] [Bug 148835] New: Style written inside HTML comment should not be not applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 15:35:19 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=148835

            Bug ID: 148835
           Summary: Style written inside HTML comment should not be not
                    applied
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cdumez at apple.com
                CC: dino at apple.com, koivisto at iki.fi, rniwa at webkit.org,
                    webkit-bug-importer at group.apple.com

Style written inside HTML comment should not be not applied:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="match" href="html_style_in_comment-ref.html"/>
<style type="text/css">
h4 {color: green}
<!--
h4 {color: red}
-->
</style>
</head>
<body>
<p> This page tests that Style written inside HTML comment is not applied</p>
This test passes if the text below is <b>Green. NOT Red.</b>
<h4>
This is some text.
</h4>
</body>
</html>

This causes the following newly imported W3C ref-test to fail:
http/tests/w3c/html/semantics/document-metadata/the-style-element/html_style_in_comment.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150904/fb1119e3/attachment.html>


More information about the webkit-unassigned mailing list