Skip to Content.

edugain-discuss - Re: [eduGAIN-discuss] Sizes of inline logos in eduGAIN metadata

edugain-discuss AT lists.geant.org

Subject: An open discussion list for topics related to the eduGAIN interfederation service.

List archive


Re: [eduGAIN-discuss] Sizes of inline logos in eduGAIN metadata


Chronological Thread 
  • From: Peter Schober <peter.schober AT univie.ac.at>
  • To: edugain-discuss AT lists.geant.org
  • Subject: Re: [eduGAIN-discuss] Sizes of inline logos in eduGAIN metadata
  • Date: Tue, 17 Mar 2020 17:07:34 +0100
  • Organization: ACOnet

* Lukas Hämmerle <lukas.haemmerle AT switch.ch> [2020-03-17 16:38]:
> On 17.03.20 16:12, Peter Schober wrote:
> >> Fairly sure the UKf tooling is agnostic to everything after the scheme.
> >>
> >> Are there any concerns about support in browsers? Seems like that
> >> would be the most likely thing to break for something like this.
> >
> > Except scaling issues in MS-IE this seems to be fine,
> > https://caniuse.com/svg
>
> If I understand this correctly, the only current browser with partial
> issues seems to be IE11.

Not quite: MS-IE versions 9, 10 and 11 and MS-Edge are all affected:

"IE9-11 & Edge don't properly scale SVG files. Adding height, width,
viewBox, and CSS rules seems to be the best workaround."

> But assuming one does not use animations and has height/weight
> properties (which is by definition available in metadata) one should
> be fine.

I'd have to go through the provided articles
https://codepen.io/tomByrer/pen/qEBbzw?editors=110
https://triangle717.wordpress.com/2014/06/07/ie-inkscape-svg/
in more detail to find out whether providing width/height are
sufficient or whether all of the above (incl. the 'viewBox' XML
element within the SVG and possibly CSS around it) is needed for MS-IE
to not mess this up.
It may also only apply to some contextes of using/embedding those
images, though we don't know the contexts where those images would be
shown/used at SPs or IDPs. It just may reduce the problem further
(same as the low total usage of those browsers/versions.)

Not caring much for data URLs nor M$ products I'd leave this to others
to test.

-peter



Archive powered by MHonArc 2.6.19.

Top of Page