Problem with style display:none;
Reported by
surru...@googlemail.com,
Jul 31 2016
|
|||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/51.0.2704.79 Chrome/51.0.2704.79 Safari/537.36
Example URL:
Steps to reproduce the problem:
1. Include in stylesheet called print.css:
*.noprint{ display:none;}
2> Include in an HTML page
<head>
<link rel=stylesheet href=print.css media=print>
</head>
<body>
<p class=noprint>
<form>......</form>
</p>
</body>
<p class=noprint>
<form...../form>
</p>"
3. Run the page
What is the expected behavior?
The form should not display
What went wrong?
The form continues to display. However if you move the noprint class to the form tag, the form correctly does not display.
Does it occur on multiple sites: N/A
Is it a problem with a plugin? N/A
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 51.0.2704.79 Channel: stable
OS Version:
Flash Version: Shockwave Flash 11.2 r999
,
Aug 5 2016
,
Aug 5 2016
<p> element can't have <form> as a child. problem.html is parsed like: <p class=noprint></p> <form>...</form> <p></p> |
|||
►
Sign in to add a comment |
|||
Comment 1 by tkonch...@chromium.org
, Aug 1 2016Labels: Needs-Feedback
53.3 KB
53.3 KB View Download