Re: [whatwg] Reading spec without boxes

2009-08-10 Thread Elliotte Rusty Harold
On Thu, Aug 6, 2009 at 2:09 PM, Ian Hicksoni...@hixie.ch wrote:

 Do either of you have a minimum font size preference set?


Yes, I have a 16 point minimum font size set; and removing that moved
the boxes out of the way. It also made the text in the boxes so small
as to be noticeably more difficult to read. The spec text is still
comfortably legible though. (Many other sites aren't so legible of
course.)

-- 
Elliotte Rusty Harold
elh...@ibiblio.org


Re: [whatwg] Reading spec without boxes

2009-08-10 Thread Bil Corry
Elliotte Rusty Harold wrote on 8/10/2009 1:26 PM: 
 On Thu, Aug 6, 2009 at 2:09 PM, Ian Hicksoni...@hixie.ch wrote:
 
 Do either of you have a minimum font size preference set?

 
 Yes, I have a 16 point minimum font size set; and removing that moved
 the boxes out of the way. It also made the text in the boxes so small
 as to be noticeably more difficult to read. The spec text is still
 comfortably legible though. (Many other sites aren't so legible of
 course.)

As an alternative, in FF and IE (and probably other UAs), you can use 
ctrl-plus and ctrl-minus to grow and shrink the page content.


- Bil





Re: [whatwg] Reading spec without boxes

2009-08-10 Thread Nils Dagsson Moskopp
Am Montag, den 10.08.2009, 13:38 -0500 schrieb Bil Corry:
 As an alternative, in FF and IE (and probably other UAs), you can use 
 ctrl-plus and ctrl-minus to grow and shrink the page content.

Or, the stylesheet could just properly depend on the fontsize, eg. by
using EM units.

-- 
Nils Dagsson Moskopp
http://dieweltistgarnichtso.net



Re: [whatwg] Reading spec without boxes

2009-08-10 Thread Ian Hickson
On Thu, 6 Aug 2009, Smylers wrote:
 
 I experienced this recently with a minimum font size set (in Firefox). I 
 tracked it down to something like this (sorry, that was on another 
 computer, so this is from memory):
 
 * The main content's left margin, in which the boxes have to fit, is
   specified relative to the main content's text size.
 
 * The boxes' font size is specified as a proportion of the main
   content's font size.
 
 * The boxes' width is specified relative to the boxes' font size.  And
   because of the previous two points this is relative to the main
   content's left margin, so is always less than that margin regardless
   of the main font size.
 
 * But with a minimum font size set in the UI, the actual box font size
   can end up larger than that computed above.  The boxes' width are then
   correspondingly bigger, and may now be wider than the main content's
   left margin.
 
 I prototyped a fix for this, which went something like:
 
 Instead of setting the smaller font on the boxes, set it on all their
 children (.box  * -- or whatever the class name is).  This still makes
 the text smaller.  But that leaves the width of the box being specified
 relative to the main content font -- the same as the margin it needs to
 fit in.  As such it's trivial to pick a size that always fits.
 
 I hadn't yet submitted this because I first planned to try it in more
 browsers.  In particular I'm concerned that the child selector isn't
 support in some IE versions.

I applied the above suggestions.


On Thu, 6 Aug 2009, Justin Lebar wrote:

 Unbeknownst to me, I had a minimum font size of 12pt set.  FWIW, I don't 
 remember setting this, so it may have been a default.

On Mon, 10 Aug 2009, Elliotte Rusty Harold wrote:
 
 Yes, I have a 16 point minimum font size set; and removing that moved 
 the boxes out of the way. It also made the text in the boxes so small as 
 to be noticeably more difficult to read. The spec text is still 
 comfortably legible though. (Many other sites aren't so legible of 
 course.)

Hopefully the boxes no longer overlap the text.


On Mon, 10 Aug 2009, Nils Dagsson Moskopp wrote:
 
 Or, the stylesheet could just properly depend on the fontsize, eg. by 
 using EM units.

It actually did (and still does), the problem was that it was going below 
the minimum font-size threshold.

HTH,
-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] Reading spec without boxes

2009-08-06 Thread Ian Hickson
On Wed, 5 Aug 2009, Elliotte Rusty Harold wrote:
 On Wed, Aug 5, 2009 at 4:44 PM, Ian Hicksoni...@hixie.ch wrote:
  On Wed, 5 Aug 2009, Elliotte Rusty Harold wrote:
 
  I suspect I'm missing something obvious but is there a way to turn off
  the little status boxes in the left margins on the draft spec? They seem
  to cover some of the text I'd like to read.
 
  If they cover up any of the text, that is a bug. What browser are you
  using?
 
 Firefox 3.0.11, Linux.

I haven't been able to reproduce this. Does your setup have any particular 
configuration options that I'm not overriding properly? e.g. do you have 
an unusual default font size, or something like that?

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] Reading spec without boxes

2009-08-06 Thread Elliotte Rusty Harold
Same issue on Firefox 3.5.1 Mac at various font sizes. :-(

-- 
Elliotte Rusty Harold
elh...@ibiblio.org


Re: [whatwg] Reading spec without boxes

2009-08-06 Thread Ian Hickson
On Thu, 6 Aug 2009, Elliotte Rusty Harold wrote:

 Same issue on Firefox 3.5.1 Mac at various font sizes. :-(

On Thu, 6 Aug 2009, Justin Lebar wrote:

 Happens to me on Ubuntu 9.04 with FF 3.5.2.
 
 Screenshot at [1] http://stanford.edu/~jlebar/moz/screen1.png

Do either of you have a minimum font size preference set?

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] Reading spec without boxes

2009-08-06 Thread Smylers
Ian Hickson writes:

 On Wed, 5 Aug 2009, Elliotte Rusty Harold wrote:
 
  the little status boxes in the left margins on the draft spec?  They
  seem to cover some of the text I'd like to read.
 
 If they cover up any of the text, that is a bug.

I experienced this recently with a minimum font size set (in Firefox).
I tracked it down to something like this (sorry, that was on another
computer, so this is from memory):

* The main content's left margin, in which the boxes have to fit, is
  specified relative to the main content's text size.

* The boxes' font size is specified as a proportion of the main
  content's font size.

* The boxes' width is specified relative to the boxes' font size.  And
  because of the previous two points this is relative to the main
  content's left margin, so is always less than that margin regardless
  of the main font size.

* But with a minimum font size set in the UI, the actual box font size
  can end up larger than that computed above.  The boxes' width are then
  correspondingly bigger, and may now be wider than the main content's
  left margin.

I prototyped a fix for this, which went something like:

Instead of setting the smaller font on the boxes, set it on all their
children (.box  * -- or whatever the class name is).  This still makes
the text smaller.  But that leaves the width of the box being specified
relative to the main content font -- the same as the margin it needs to
fit in.  As such it's trivial to pick a size that always fits.

I hadn't yet submitted this because I first planned to try it in more
browsers.  In particular I'm concerned that the child selector isn't
support in some IE versions.

Hope that helps.

Smylers


Re: [whatwg] Reading spec without boxes

2009-08-06 Thread Justin Lebar
Unbeknownst to me, I had a minimum font size of 12pt set.  FWIW, I
don't remember setting this, so it may have been a default.

-Justin

On Thu, Aug 6, 2009 at 2:09 PM, Ian Hicksoni...@hixie.ch wrote:
 On Thu, 6 Aug 2009, Elliotte Rusty Harold wrote:

 Same issue on Firefox 3.5.1 Mac at various font sizes. :-(

 On Thu, 6 Aug 2009, Justin Lebar wrote:

 Happens to me on Ubuntu 9.04 with FF 3.5.2.

 Screenshot at [1] http://stanford.edu/~jlebar/moz/screen1.png

 Do either of you have a minimum font size preference set?

 --
 Ian Hickson               U+1047E                )\._.,--,'``.    fL
 http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
 Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



[whatwg] Reading spec without boxes

2009-08-05 Thread Elliotte Rusty Harold
I suspect I'm missing something obvious but is there  a way to turn
off the little status boxes in the left margins on the draft spec?
They seem to cover some of the text I'd like to read.

-- 
Elliotte Rusty Harold
elh...@ibiblio.org


Re: [whatwg] Reading spec without boxes

2009-08-05 Thread Ian Hickson
On Wed, 5 Aug 2009, Elliotte Rusty Harold wrote:

 I suspect I'm missing something obvious but is there a way to turn off 
 the little status boxes in the left margins on the draft spec? They seem 
 to cover some of the text I'd like to read.

If they cover up any of the text, that is a bug. What browser are you 
using?

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] Reading spec without boxes

2009-08-05 Thread Elliotte Rusty Harold
On Wed, Aug 5, 2009 at 4:44 PM, Ian Hicksoni...@hixie.ch wrote:
 On Wed, 5 Aug 2009, Elliotte Rusty Harold wrote:

 I suspect I'm missing something obvious but is there a way to turn off
 the little status boxes in the left margins on the draft spec? They seem
 to cover some of the text I'd like to read.

 If they cover up any of the text, that is a bug. What browser are you
 using?


Firefox 3.0.11, Linux.

-- 
Elliotte Rusty Harold
elh...@ibiblio.org