Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Offline
#17 2015-10-20 21:44:41
- testdeputy
- Member
- Registered: 2011-05-29
- Posts: 29
Re: Request for comment: dropping support for IE8/IE9
+1 for dropping (or killing, if you prefer, I do)
Offline
Re: Request for comment: dropping support for IE8/IE9
Looks like opinion is overwhelmingly to get rid of IE8 support. So I will make IE9 the minimum stated browser (although IE9 has even less usage than IE8 in reality) – at least that has media query and SVG support. Thanks all!
Offline
Re: Request for comment: dropping support for IE8/IE9
philwareham wrote #296071:
So I will make IE9 the minimum stated browser (although IE9 has even less usage than IE8 in reality)
In which case why not go full steam ahead, and go with IE 10 (low low usage) or even 11? Flexbox support and the like… (e.g. the buttons inside .txp-navigation…)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Request for comment: dropping support for IE8/IE9
Hmmm, could do, gives me a proper reason to learn Flexbox. IE10 has a slightly flaky implementation of it but as you say, global usage of IE10 is really low.
If we go with the current trend of supporting the last 2 releases of a browser, then arguably IE11 is the oldest release to support (if you lump Edge and IE in together).
Not sure what difference that makes to buttons inside .txp-navigation though, care to explain?
Offline
Re: Request for comment: dropping support for IE8/IE9
You can stop funding with negative margins to remove the white-space between adjacent nodes and other easy alignment of (pseudo-) block elements. Or forcing yourself to make sure there is no white-space between those nodes in the source code.
Ok in case of .txp-navigation the source code has no white-space. Another example where I use display: flex is the search widget at the top of many panels. The rows on the edit panels and the prefs panel could be build with flexbox as well (no fudging with float + clear, or inline-block and width calculations, much less code).
.pageby { display: flex; } and that’s it.
.txp-form-field { display: flex }
.txp-form-field span:first-child { flex: 1 0 40%} /* or whatever width you want it */
.txp-form-field span+span { flex: 1 0 60%}
ps – Safari 8 need the prefix, older Android (< 4.4) if you care about those use the very old syntax.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Request for comment: dropping support for IE8/IE9
Thanks Philippe, good to know. I have toyed with Flexbox a couple of times in the past but never fully understood it. I have some articles to read up on though, so hopefully I can introduce flex to some of the example cases you’ve given.
Offline
Re: Request for comment: dropping support for IE8/IE9
I’m with Philippe: flexbox FTW. Been using it today again and it’s bloody terrific.
Even though you still need to litter the CSS with a few browser-specific prefixes — in our case for -webkit- and (potentially) -ms- — that outweighs the wonderful ability to shuffle the panel orders when collapsing browser width and being able to do full-height panels that collapse intelligently. It’s flex-tastic.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Request for comment: dropping support for IE8/IE9
I will set aside some time next week to learn flexbox properly then!
Offline
Re: Request for comment: dropping support for IE8/IE9
Bloke wrote #296094:
I’m with Philippe: flexbox FTW. Been using it today again and it’s bloody terrific.
:-)
philwareham wrote #296108:
I will set aside some time next week to learn flexbox properly then!
Feel free to shoot Q’s if you need…
To be fair, I’m not (yet) advocating going with flex box for everything and its sister in the admin code immediately, there are however that could eventually benefit from it.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Request for comment: dropping support for IE8/IE9
+10000000 Flexbox…. auto height columns, vertical align… loving it
Offline
Re: Request for comment: dropping support for IE8/IE9
Just been testing flexbox, I think I could build out a grid layout option for the images panel fairly quickly with that. Maybe even in time for a 4.6 release. So in that case we would state IE10 as the minimum IE version we support.
If you can list each of the ui things that would benefit from flexbox I will let ok into them.
So far:
1. Image grid (kind of a card layout).
2. Form label and inputs side-by-side.
3. List navigation widget.
5. Search widget (the new proposed one?).
6. Layout columns.
Offline
Re: Request for comment: dropping support for IE8/IE9
philwareham wrote #296135:
Just been testing flexbox, I think I could build out a grid layout option for the images panel fairly quickly with that. Maybe even in time for a 4.6 release. So in that case we would state IE10 as the minimum IE version we support.
That escalated quickly.
Offline
Re: Request for comment: dropping support for IE8/IE9
Nobody really uses ie9 anyway, so it wouldn’t be a great loss to not support it.
Offline
Re: Request for comment: dropping support for IE8/IE9
With my feature creep hat on, I’m rolling my eyes – but flexbox is the hotness, so I’m taking my hat off.
Offline