Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / selectors / style-sharing-attribute-selector-with-pseudo-element.html
blob556005a965a92f3ca3bbfff382cc5e31a57eefd5
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 [myatt]:after {
6 content: attr(myatt);
8 [myatt]:before {
9 content: 'Second paragraph';
11 </style>
12 </head>
13 <body>
14 <div>Test for Bugzilla <a href="https://bugs.webkit.org/show_bug.cgi?id=88196">Bug 88196</a>: REGRESSION (r96393): In some cases, generated content is never shown</div>
15 <div>Elements with style specified from attribute selectors in conjunction with pseudo-elements should not take on the shared style of their previous matching sibling (if any).</div>
16 <p>First paragraph.</p>
17 <p myatt=":before and :after content."> with </p>
18 </body>
19 </html>