Closed Bug 180649 Opened 22 years ago Closed 22 years ago

The browser should offer a Simple HTML Style (or No Style) option in the View/Use Style options

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 32372

People

(Reporter: stanio, Assigned: dbaron)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Following the HTML 4.01 spec <http://www.w3.org/TR/html401> I extract two quotes:

"User agents should give users the opportunity to select from among alternate
style sheets or to switch off style sheets altogether."

"User agents should also allow users to disable the author’s style sheets
entirely, in which case the user agent must not apply any persistent or
alternate style sheets."

I want to emphasize on the thing that the UA should allow users to turn off the
document author's style sheets entirely. Currently there is option "Basic Page
Style" under View / Use Style menu. This option collects all the non-titled
'STYLE' elements and non-titled linked style sheet documents style data. This
one according to the HTML spec is the persistent style data which is used no
matter which alternate or author's preferred style is used currently.

So if there is specified only a persistent style data there's no option to
switch it off or to select the default (simple) HTML style as given a sample by
the CSS spec <http://www.w3.org/TR/REC-CSS2/sample.html>. I suppose there should
be "Simple HTML" (like in the Mail & News) option under the Use Style menu.

Further I think "Basic Page Style" is wrong because it is misleading. There
should be "Page Specified" option (in addition to the "Simple HTML" which is
always there) when there is no author's preferred or alternate style sheet
specified.

Another hint is when there is specified alternate style sheet but with no title
(although this is not described in the spec and probably considered wrong) to
have this title generated, i.e. "Alternate #1" etc.

Reproducible: Always

Steps to Reproduce:

*** This bug has been marked as a duplicate of 32372 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
yeah
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: