Closed
Bug 122951
Opened 23 years ago
Closed 21 years ago
NPL-1.1.html and MPL-1.1.html needs cleanup
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla, Assigned: annevk)
References
Details
Attachments
(3 files, 4 obsolete files)
26.75 KB,
text/html
|
Details | |
55.22 KB,
patch
|
Details | Diff | Splinter Review | |
106.38 KB,
patch
|
Details | Diff | Splinter Review |
the files NPL-1.1.html and MPL-1.1.html needs a cleanup.
chrome://global/content/MPL-1.1.html
chrome://global/content/NPL-1.1.html
both contains
<meta name="GENERATOR" content="Mozilla/4.5 [en]C-NSCP (Win95; U) [Netscape]">
come on...
we're using a version 4.5 to write stuff that ships with Mozilla...?
the files also seems to contain double line spacing.
they're based on http://www.mozilla.org/MPL/MPL-1.1.html which have the same
quirks. if you want cleanup, then i'm going to ask that the website clean up
first.
Assignee: asa → endico
Component: Browser-General → webmaster@mozilla.org
Product: Browser → mozilla.org
QA Contact: doronr → endico
Reporter | ||
Comment 2•23 years ago
|
||
CC'ing some of the people that converted the "about:" pages into proper HTML.
-> taking QA contact so I don't need to watch Dawn anymore. ;)
QA Contact: endico → imajes
Updated•22 years ago
|
QA Contact: imajes → stolenclover
Comment 5•22 years ago
|
||
*** Bug 163189 has been marked as a duplicate of this bug. ***
what's the requirement here? Does the formatting need to be preserved? Does it
need to look the same in non-css browsers? I'd be willing to do something about
this, if someone would give me a hint as to what should be done.
Assignee | ||
Comment 7•21 years ago
|
||
This validates and uses some improved markup. (Valid HTML 4 Strict.) I'm not
sure what kind of markup people had in mind, but this certainly improves the
older version.
I was wondering, should the versions Mozilla has intern be converted to XHTML?
Assignee | ||
Updated•21 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Comments on the attachment:
Definitions should use <dl>, not <b>.
There are a lot of stray .
Preformatted text (e.g. the force-wrapped fill-in text) should be marked as <pre>.
Don't use <p class="note"> there, it will generate Note: in front of [NOTE: if
the mozilla.org style sheets take effect on the document. (For sample text like
that, I think we want to keep the markup pure HTML with no classes.)
Unless there's a legal consequence (I don't believe there is, but I'm not a
lawyer), sections capitalized for emphasis should be marked as <strong>,
possibly <strong class="very-strong">, and styled to with text-transform.
References to other sections should be hyperlinked.
Assignee | ||
Comment 9•21 years ago
|
||
This one takes in account the comments. Every section now has an ID that looks
like 'section-{no}-{suffix}'. This is at the cost of semantics, but makes it a
lot easier to link to.
Added the STRONG element, but I didn't convert the text to lowercase yet (if
that was needed).
Also, is there are a reason for the first 6 headers to be in lowercase and the
last 7 in uppercase?
I'm going to bed now, will try to make a final document tomorrow if everything
is clear by then.
Assignee | ||
Updated•21 years ago
|
Updated•21 years ago
|
QA Contact: daniel.bugmail → nb
Assignee | ||
Comment 10•21 years ago
|
||
fantasai, could you do a second review? If it matches your criteria, could you
check it in as well?
Comment 11•21 years ago
|
||
I just checked with a lawyer about the capitalization: it's not legally
significant. So
a) the code needs to be wrapped to lines around 72-80 characters long
b) capitalized sections and section headers should be downcased and use <strong
class="very-strong"> (which will effect the capitalization via
'text-transform' anyway)
c) Replace the text of Exhibit A with the plain text version (from "the contents
of this file" to "[___] License." not including quote marks, and mark it as
<pre>.
Other than that, it looks good.
Assignee | ||
Comment 12•21 years ago
|
||
fantasai, what next? This should be checked in the source and website, right?
Attachment #158153 -
Attachment is obsolete: true
Comment 13•21 years ago
|
||
I'm not the one to make decisions here, but I want to share some quick observations:
The new title doesn't look as nice as the old one.
The definitions (in the first section) are easier to read in the original
version. They are meant to be sentences, so let's not introduce line breaks.
Instead, keep the defined terms strong.
1.8.1 and 1.10.1 are not meant to be subsections of 1.8 or 1.10.
The link in 1.12 doesn't work.
Don't change 1.9.A and 1.9.B to 1.9.1 and 1.9.2!
Don't change 2.1.a-d to 2.1.1.4! Same for 2.2! Otherwise the references/links to
a/b doesn't make sense.
Remove the numbers before 8.1 - 8.4. Don't change 8.2.a-b to 8.2.1-2!
I didn't read through the whole thing, but I spotted a typo you introduced in
"7. Disclaimer of warrany" ("warranty" instead).
Assignee | ||
Comment 14•21 years ago
|
||
Steffen, I'll fix some of your mentioned errors. However, some of the errors you
mention come from the default styling of certain elements, like OL and are not
my fault. I merely changed the markup to match the content. If Mozilla has a
default style of 1., 2. instead of a., b... We can overwrite that with style
sheets, but I was currently only improving the markup.
If you viewed source for example, you would have seen that 8.2a (presented in
some browser as 8.2.1 at the moment) has a link of '#section-8.2-a'.
Comment 15•21 years ago
|
||
Whoa, there, guys :-)
Whatever you do to the markup, the text should not change in _any_ way in any
modern browser. That includes section numbers and capitalisation (which Mitchell
believes _is_ legally significant; there's a requirement that the warranty
disclaimer be 'prominent').
Gerv
Assignee | ||
Comment 16•21 years ago
|
||
Gerv, should it be the same in any modern browser without styles applied as well?
fantasai, any suggestions on what to do now?
Comment 17•21 years ago
|
||
CC'ing mitchell@mozilla.org.
I think he might want to provide input into this.
Comment 18•21 years ago
|
||
<ol style="list-style-type: upper-latin">
doesn't work in IE, it displays numbers instead. I guess we want a correct
display of the MPL even in that thing.
<ol type="A">
is deprecated and doesn't validate as HTML 4.01 Strict. But it does validate as
Transitional. I'd suggest to use this doctype to still trigger standards
compliance mode:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Of course we could also refrain from using <ol>.
Comment 19•21 years ago
|
||
I agree with Steffen about switching to Transitional. The list styling is
critical to the document so it should be marked in the HTML.
Exhibit A should be a pure copy from the plain text version of the file, with
no additional markup. Copy it from here:
http://www.mozilla.org/MPL/MPL-1.1.txt
You might want to add
.very-strong { text-transform: uppercase; }
to the top of the file.
Other than that, it looks good. (The text lines are still a bit too long imho,
but it's wrapped now so I'll let that slide. ;) Get review from Mitchell and
it's good to go.
Comment 20•21 years ago
|
||
I'll try to look at this in the next couple of days. It won't be tomorrow
though, I'm pretty sure of that.
mitchell
Assignee | ||
Comment 21•21 years ago
|
||
IE does support 'lower-alpha', which is essentially the same thing:
<http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/liststyletype.asp>.
I needed to use it because IE applies 'list-style' even when I'm setting an
element to 'display:block'. I did use <ol type="a"> for everything by the way.
Getting chapter 1 in sentences almost worked out by using 'dt{float:left}' plus
some additional style rules. However, Mozilla dropped all spaces (probably
correct) so it wasn't really a correct sentence anymore. Any suggestions?
Assignee | ||
Updated•21 years ago
|
Attachment #158837 -
Attachment is obsolete: true
Comment 22•21 years ago
|
||
anne: to be clear. THOU SHALT *NOT* commit this file without approval from mitchell.
Comment 23•21 years ago
|
||
I wouldn't worry about the formatting of the definition list, imho it's fine
as-is. (The correct way to handle it would be to put
dt { display: run-in; }
not floats.)
Let's not complicate the formatting with CSS hacks.
Section 8 should just be paragraphs; they're numbered paragraphs more than they
are list items, and this is the sort of document where I want absolutely
*minimal* use of formatting tweaks..
The NOTE at the end should be taken out of the <pre> and put in a regular
paragraph. The brackets may be removed.
Assignee | ||
Comment 24•21 years ago
|
||
Attachment #158950 -
Attachment is obsolete: true
Comment 25•21 years ago
|
||
Looking this over briefly, it looks fine, but I haven't checked it thoroughtly.
If: the text and identificationn of subsections (the a, b and c stuff) is
unchanged and the changes are in the markup to make it more correct,
then it is OK with to check this in.
thanks to timeless for making sure I'm invovled. Thanks to Anne for great
patience in waiting for me ;-)
Assignee | ||
Comment 26•21 years ago
|
||
Assignee | ||
Comment 27•21 years ago
|
||
This bug has been fixed. Thanks to all involved.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 28•21 years ago
|
||
We should fix this in the code as well:
http://lxr.mozilla.org/seamonkey/source/xpfe/global/resources/content/MPL-1.1.html
http://lxr.mozilla.org/seamonkey/source/toolkit/content/MPL-1.1.html
Updated•21 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 29•21 years ago
|
||
Comment 30•21 years ago
|
||
I simply copied the file from mozilla-org/html/MPL/MPL-1.1.html to
mozilla/xpfe/global/resources/content/MPL-1.1.html and
mozilla/toolkit/content/MPL-1.1.html.
Do I need a review for this, is is Mitchell's brief look (comment 25) enough?
Comment 31•21 years ago
|
||
The same file may not be appropriate, and I have another change to that file.
Please file another bug and assign it to me.
Gerv
Assignee | ||
Comment 32•21 years ago
|
||
Per comment 31 this is fixed again, follow-up bug is bug 272927.
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Product: mozilla.org → Websites
Updated•13 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•