Emacs crashes when typing inline style on Body with "background" attr

Bug #703452 reported by jacob lyles on 2011-01-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

the following chunk of html causes nxhtml mode to crash on my cocoa emacs build upon typing the first single-quote after the word "background" in the body element. This also occurs when starting emacs with the command emacs-Q-nxhtml:

<!doctype html>
  <script type="text/javascript">
 window.onload = function(){
  document.getElementById('hello').innerHTML = 'Hello World!';


<body style="background: '">
  <div id="msg"></div>



lborgman (lennart-borgman) wrote :

Hi jacob, thanks for the bug report. I can't reproduce this. Could you please try the latest beta 2.09 and see if you can reproduce it there?

Changed in nxhtml:
importance: Undecided → Medium
status: New → In Progress
jacob lyles (jacob-lyles) wrote :

That seems to have fixed it, thanks!

jacob lyles (jacob-lyles) wrote :

FYI the previous version I was using that gave me the bug was 2.08 in Mac OSX with a cocoa build of emacs.

lborgman (lennart-borgman) wrote :

Thanks jacob!

Changed in nxhtml:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers