Form feed (ASCII 0x0C) not treated as a newline by parsing

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
11 years ago
3 years ago

People

(Reporter: Eli Friedman, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

11 years ago
<style>body::before {content: "asdf%0czxcv"}</style>

should render nothing because form feeds are illegal in strings.

Firefox, IE, and Safari treat the form feed like any other character. Opera handles it in accordance with the spec.

Possibly the spec should be changed rather than our behavior.
(Reporter)

Comment 1

11 years ago
Correction: actually, Safari seems to implement this per the spec; I should have been more careful how I asked to test. (Although, oddly enough, it seems to completely ignore it for rendering.)
As of Firefox 41, this renders nothing.
You need to log in before you can comment on or make changes to this bug.