Closed Bug 985971 Opened 12 years ago Closed 12 years ago

Incomplete tags cause (really) unexpected page rendering in Thimble

Categories

(Webmaker Graveyard :: Thimble, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bobby, Assigned: michiel)

Details

Attachments

(1 file)

STR: 1. Place "</" anywhere in the body of a Thimble make. Expected result: Nothing; or, at most, some poorly formatted HTML. Actual result: Some compiled CSS is written into the DOM, e.g. https://www.dropbox.com/s/4hbh0vs3eqi1nqs/Screenshot%202014-03-20%2015.36.51.png
OS: Mac OS X → All
Hardware: x86 → All
wat
That's the highlight css styles. Bobby, stop hacking us :(
it is indeed the highlight CSS, and the HTML preview should not be refreshed on broken HTML so the real bug is "preview updates content despite error in HTML"
Status: NEW → ASSIGNED
STR: load thimble, type < somewhere, and have the error pop up. In current thimble, it'll update the preview loader. This patch prevents updates from happening when errors exist.
Attachment #8397133 - Flags: review?(scott)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: