haikuwebkit/LayoutTests/fast/css/inline-properties-important...

6 lines
427 B
HTML

<p>This tests handling of duplicated properties in inline style declarations. Using !important should have an effect. See bug #4128.</p>
<h1 style="color: #0f0; color: #f00">This should be red</h1>
<h1 style="color: #0f0 !important; color: #f00">This should be green</h1>
<h1 style="color: #0f0; color: #f00 !important">This should be red</h1>
<h1 style="color: #0f0 !important; color: #f00 !important">This should be red</h1>