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

Bug #703452 reported by jacob lyles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
Fix Committed
Medium
Unassigned

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>
<html>
<head>
  <script type="text/javascript">
 window.onload = function(){
  document.getElementById('hello').innerHTML = 'Hello World!';

 }
  </script>

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

</body>

</html>

Revision history for this message
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
Revision history for this message
jacob lyles (jacob-lyles) wrote :

That seems to have fixed it, thanks!

Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.