On 22/06/2019 19:09, Jim Nagel wrote:
> Does the shortcut version of the "font" property in CSS work properly in
> Netsurf?
Yes, it does. You can find extensive test data at [1].
> This CSS gives me the display I want:
> font-family: serif;
> font-style: italic;
> font-weight: bold;
> font-size: 24pt;
>
> This single CSS expression is supposed to be equivalent, but Netsurf
> ignores it:
> font: serif italic bold 24pt;
>
> Or am I failing to understand the spec?
I'm afraid so. The spec[2,3] says that (assuming none of the
single-token values are specified -- e.g. caption or inherit):
* font-style, font-variant, font-weight appear first (in any order), if
required
* font-size comes next (and is always required)
* an optional line-height may be specified next
* font-family appears last
So, given the long-hand you have specified above, you want something like:
font: bold italic 24pt serif;
J.
1. https://git.netsurf-browser.org/libcss.git/tree/test/data/parse2/font.dat
2. https://www.w3.org/TR/CSS21/fonts.html#font-shorthand
3. https://www.w3.org/TR/css-fonts-3/#font-prop
Saturday, 22 June 2019
Re: 3.9 Release
On Sat, Jun 22, 2019 at 05:36:39PM +0100, Richard Torrens (lists) wrote:
> In article <20190615175934.GH14758@kyllikki.org>,
> Vincent Sanders <vince@netsurf-browser.org> wrote:
> > A lot of features and bug fixes have happened since the 3.8 release so
> > I am considering producing a 3.9 soon.
>
> A (hopefully small) point: for some time now Netsurf seems to be picking
> up only the first css link.
Please could you create an issue on the tracker with some actual
details? or this simply will never be looked at
Futher if you are refering to http://www.torrens.org/ (btw please
consider https, https://letsencrypt.org/ is a brilliant idea) you have
two stylesheet links in the head element
<link rel="stylesheet" href="../http://css.torrens.org/main" type="text/css">
<link rel="stylesheet" href="http://css.torrens.org/navbar.css" type="text/css">
the first is garbage relative link and all browsers i tried it with
treat it as such and ignore it.
>
> On all my www pages I have two css links - the second one defines the
> header and is ignored.
on other pages (i picked cats for an example) the link elements are:
<link rel="stylesheet" href="http://css.torrens.org/styles1.css" type="text/css">
<link rel="stylesheet" href="http://css.torrens.org/navbar.css" type="text/css">
and the styles from both are used in NetSurf causing the header
bar contact, home and search backgrounds to be coloured (for example)
>
> But great work what has been done. Thanks for that.
>
> --
> Richard Torrens.
> http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
> and more!
>
>
--
Regards Vincent
http://www.kyllikki.org/
> In article <20190615175934.GH14758@kyllikki.org>,
> Vincent Sanders <vince@netsurf-browser.org> wrote:
> > A lot of features and bug fixes have happened since the 3.8 release so
> > I am considering producing a 3.9 soon.
>
> A (hopefully small) point: for some time now Netsurf seems to be picking
> up only the first css link.
Please could you create an issue on the tracker with some actual
details? or this simply will never be looked at
Futher if you are refering to http://www.torrens.org/ (btw please
consider https, https://letsencrypt.org/ is a brilliant idea) you have
two stylesheet links in the head element
<link rel="stylesheet" href="../http://css.torrens.org/main" type="text/css">
<link rel="stylesheet" href="http://css.torrens.org/navbar.css" type="text/css">
the first is garbage relative link and all browsers i tried it with
treat it as such and ignore it.
>
> On all my www pages I have two css links - the second one defines the
> header and is ignored.
on other pages (i picked cats for an example) the link elements are:
<link rel="stylesheet" href="http://css.torrens.org/styles1.css" type="text/css">
<link rel="stylesheet" href="http://css.torrens.org/navbar.css" type="text/css">
and the styles from both are used in NetSurf causing the header
bar contact, home and search backgrounds to be coloured (for example)
>
> But great work what has been done. Thanks for that.
>
> --
> Richard Torrens.
> http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
> and more!
>
>
--
Regards Vincent
http://www.kyllikki.org/
Re: [gccsdk] Updated SDL recipes
Hi
I tested these changes with ScummVM, and unfortunately it crashes on startup. I was able to fix this with this patch (https://bugzilla.libsdl.org/show_bug.cgi?id=4687), which works fine when running in windowed mode, but the colours are incorrect when switching to full-screen.
Regards
Cameron
On Mon, 10 Jun 2019 at 23:03, Jeffrey Lee <me@phlamethrower.co.uk> wrote:
On Mon, 27 May 2019, Jeffrey Lee wrote:
> Since the SDL team appear to be a bit slow in accepting our patches, I'm
> thinking that we should add all the of the outstanding ones to the
> autobuilder recipe. I can easily do that once I've tidied/finished my current
> patches.
Good news - it looks like all the outstanding patches (including the ones
I submitted a few days ago) have now been accepted. I've also fixed up
some issues with VFP & RO_SHAREDLIBS builds of SDL (1.2) & SDL-mixer.
I still have one SDL bug on my todo list (fixing it to cope with screen
modes which have padding between rows), but other than that I'm not aware
of any serious problems with this new version - so now's a good time for
people to try it out and see if they run into any issues.
Cheers,
- Jeffrey
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
shortcut "font" in CSS
Does the shortcut version of the "font" property in CSS work properly in
Netsurf?
This CSS gives me the display I want:
font-family: serif;
font-style: italic;
font-weight: bold;
font-size: 24pt;
This single CSS expression is supposed to be equivalent, but Netsurf
ignores it:
font: serif italic bold 24pt;
Or am I failing to understand the spec?
Using #4682 and many previous builds.
--
Jim Nagel www.archivemag.co.uk
Netsurf?
This CSS gives me the display I want:
font-family: serif;
font-style: italic;
font-weight: bold;
font-size: 24pt;
This single CSS expression is supposed to be equivalent, but Netsurf
ignores it:
font: serif italic bold 24pt;
Or am I failing to understand the spec?
Using #4682 and many previous builds.
--
Jim Nagel www.archivemag.co.uk
Re: 3.9 Release
In article <20190615175934.GH14758@kyllikki.org>,
Vincent Sanders <vince@netsurf-browser.org> wrote:
> A lot of features and bug fixes have happened since the 3.8 release so
> I am considering producing a 3.9 soon.
A (hopefully small) point: for some time now Netsurf seems to be picking
up only the first css link.
On all my www pages I have two css links - the second one defines the
header and is ignored.
But great work what has been done. Thanks for that.
--
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!
Vincent Sanders <vince@netsurf-browser.org> wrote:
> A lot of features and bug fixes have happened since the 3.8 release so
> I am considering producing a 3.9 soon.
A (hopefully small) point: for some time now Netsurf seems to be picking
up only the first css link.
On all my www pages I have two css links - the second one defines the
header and is ignored.
But great work what has been done. Thanks for that.
--
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!
Friday, 21 June 2019
Re: 3.9 Release
Last call for fixes to go into 3.9
Please can anyone interested at least try the development build on their frontend.
--
Regards Vincent
Please can anyone interested at least try the development build on their frontend.
--
Regards Vincent
Tuesday, 18 June 2019
Re: [gccsdk] Updated SDL recipes
In article <alpine.WNT.2.00.1906102250510.1652@Jeffrey-PC>,
Jeffrey Lee <me@phlamethrower.co.uk> wrote:
> I still have one SDL bug on my todo list (fixing it to cope with screen
> modes which have padding between rows), but other than that I'm not aware
> of any serious problems with this new version - so now's a good time for
> people to try it out and see if they run into any issues.
Working OK with mplayer and RetroArch. Full screen is working again on
Titanium and IGEPv5. RetroArch also shows the correct colours.
Looking at possible future SDL features. It would be great if hardware
overlay and USB joystick support could be added.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
Jeffrey Lee <me@phlamethrower.co.uk> wrote:
> I still have one SDL bug on my todo list (fixing it to cope with screen
> modes which have padding between rows), but other than that I'm not aware
> of any serious problems with this new version - so now's a good time for
> people to try it out and see if they run into any issues.
Working OK with mplayer and RetroArch. Full screen is working again on
Titanium and IGEPv5. RetroArch also shows the correct colours.
Looking at possible future SDL features. It would be great if hardware
overlay and USB joystick support could be added.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
Subscribe to:
Posts (Atom)