-3

So I have this code in my current project:

<body>
    <p>unicorns ftw</p>
</body>

$("body")
    .append("<span>").text("unicorn sucks")
    .append("<div>")
    .html("</sarcasm>");

As the W3C Recommendation stated, if an unexpected </sarcasm> is found in the HTML, the browser should "take a deep breath, then act as described in the 'any other end tag'." But when I run this code, my browser (Chrome 34) is only acting as described in the "any other end tag"! I believe this is a bug in Chrome, but when I tested it in Firefox, it is also not taking a deep breath as expected.

Is there any way to work around this bug? Any solution is welcomed.

Derek 朕會功夫
  • 92,235
  • 44
  • 185
  • 247
  • possible duplicate of [Manipulating CSS pseudo-elements using jQuery (e.g. :before and :after)](http://stackoverflow.com/questions/5041494/manipulating-css-pseudo-elements-using-jquery-e-g-before-and-after) – Wesley Murch Apr 01 '14 at 06:18
  • @WesleyMurch - You are not getting the joke. – Derek 朕會功夫 Apr 01 '14 at 06:20
  • possible duplicate of [Manipulating CSS pseudo-elements using jQuery (e.g. :before and :after)](http://stackoverflow.com/questions/5041494/manipulating-css-pseudo-elements-using-jquery-e-g-before-and-after) – Wesley Murch Apr 01 '14 at 06:22
  • possible duplicate of [Manipulating CSS pseudo-elements using jQuery (e.g. :before and :after)](http://stackoverflow.com/questions/5041494/manipulating-css-pseudo-elements-using-jquery-e-g-before-and-after) – Wesley Murch Apr 01 '14 at 06:22
  • ...I don't get it though – Derek 朕會功夫 Apr 01 '14 at 06:23
  • possible duplicate of [Manipulating CSS pseudo-elements using jQuery (e.g. :before and :after)](http://stackoverflow.com/questions/5041494/manipulating-css-pseudo-elements-using-jquery-e-g-before-and-after) – Wesley Murch Apr 01 '14 at 06:23
  • 1
    possible duplicate of [The chuck norris twitter widget is losing style on IE](http://stackoverflow.com/questions/9933441/the-chuck-norris-twitter-widget-is-losing-style-on-ie) – Wesley Murch Apr 01 '14 at 06:25
  • possible duplicate of [The chuck norris twitter widget is losing style on IEHow can I tell if a corpse is safe to eat?](http://gaming.stackexchange.com/questions/4999/how-can-i-tell-if-a-corpse-is-safe-to-eat) – Wesley Murch Apr 01 '14 at 06:27
  • possible duplicate of [How can I tell if a corpse is safe to eat?](http://gaming.stackexchange.com/questions/4999/how-can-i-tell-if-a-corpse-is-safe-to-eat) – Wesley Murch Apr 01 '14 at 06:29
  • @WesleyMurch - These links are so irrelevant – Derek 朕會功夫 Apr 01 '14 at 06:30
  • 6
    This question appears to be off-topic because it is not funny – iConnor Apr 01 '14 at 06:35
  • 3
    Having read many standards documents in my life, to find humor in one is an unexpected event. – John Powell Apr 01 '14 at 06:35
  • 1
    People have no sense of humor anymore... This made me laugh. – Fizor Apr 01 '14 at 06:38
  • 3
    @Mike that's what IE does to you mate, make's you delusional – iConnor Apr 01 '14 at 06:40
  • 3
    Sense of humor is a personal thing. Using IE is a universally awful experience. I think we can agree on that. – John Powell Apr 01 '14 at 06:47

1 Answers1

1

I don't think you have an updated version of PranaShark installed to properly inspect the breath event.

New Alexandria
  • 6,951
  • 4
  • 57
  • 77