Re:How to Write CSS That Works in Every Browser, Even the Ol...
by pjmlp on Friday March 09, 2018 @02:55AM
(#16550373)
That was one of the goals of XHTML....
[ Parent
| on HN ]
Re:How to Write CSS That Works in Every Browser, Even the Ol...
by yoz-y on Friday March 09, 2018 @05:13AM
(#16550851)
I find it quite baffling that we have gone to such lengths to make html/css resilient. I know of no other language/format that does this.
Can you, for example, make a half broken PDF and would it still render?
Re:How to Write CSS That Works in Every Browser, Even the Ol...
by apatters on Friday March 09, 2018 @05:22AM
(#16550882)
The ones doing the implementing are the browser vendors and it's a competitive disadvantage for them to not render every site on the web as best as they can. Consumers who come across a broken site will blame the browser and switch to a different one.
Re:How to Write CSS That Works in Every Browser, Even the Ol...
by yoz-y on Friday March 09, 2018 @06:26AM
(#16551065)
Haven't thought of that. It does make sense, the incentives are all wrong thinking about it. Publishers want the sites to be made quickly, browser vendors need market share and users have no patience and very low bar for acceptance.
Re:How to Write CSS That Works in Every Browser, Even the Ol...
by thristian on Friday March 09, 2018 @05:56AM
(#16550992)
At a previous job, a colleague was working on PDF parsing and rendering; he told me that Acrobat Reader will successfully load and display terrifyingly broken PDFs, and it's far more resilient than any of the open-source PDF-rendering tools.
So yeah, I bet you can.
Re:How to Write CSS That Works in Every Browser, Even the Ol...
by paulddraper on Friday March 09, 2018 @08:52PM
(#16556655)
Yes. Adobe in particular will accept a ton of crap