Skip to content

Commit 54dc35c

Browse files
committed
updated text of shadow dom
1 parent 5abfd1e commit 54dc35c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ <h2>13. pre processor</h2>
289289
<div id="standard_quirks">
290290
<h2>14. shadow DOM</h2>
291291
<p><strong>Question:</strong> What is shadow DOM?</p>
292-
<p><strong>Answer:</strong> encapsulate part of a DOM. hide subtree.</p>
292+
<p><strong>Answer:</strong> encapsulate part of a DOM. hide subtree. you can have same ID in different shadow DOM. Polymers uses it. This way your DOM becomes reusable and u dont have to do iframe. if interviewer is not happy with your answer give him the links and tell him to spend a weekend on reading.</p>
293293
<p>ref: <a href="http://www.w3.org/TR/shadow-dom/#introduction">W3: shadow-DOM</a>, <a href="http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/">html5rock: shadow DOM</a></p>
294294
</div>
295295
<!-- <div id="semantic_html">
@@ -303,7 +303,7 @@ <h2>15. semantic</h2>
303303

304304
<h2>temporary list of questions</h2>
305305
<ul>
306-
<li>explain shadow DOM</li>
306+
<li>transition 3D</li>
307307
<li>text effect in css3</li>
308308
<li>reset css</li>
309309
<li>what is filter? why would u use it?</li>

0 commit comments

Comments
 (0)