somegeekintn com National Electrical Manufacturers Association There were
- Slides: 92
somegeekintn. com
National Electrical Manufacturers Association
• There were no recent additions or changes and no renaming or major changes are expected • Supported by at least two browsers other than Internet Explorer 10 • Interoperable across all these browsers for the features’ core use cases • Already used on the Web, including in their unprefixed form • Reached Candidate Recommendation or are likely to become Candidate Recommendations
drop their prefix Candidate Recommendation stage
Stats via Ars Technica
// If not IE then use add. Event. Listener… if (navigator. user. Agent. index. Of("MSIE") == -1) { window. add. Event. Listener( “load”, pop. Message, false ); } else if (window. attach. Event) { window. attach. Event( “onload”, pop. Message); }
if (window. add. Event. Listener) { window. add. Event. Listener( “load”, pop. Message, false ); } else if (window. attach. Event) { window. attach. Event( “onload”, pop. Message); }
What happens when feature detection looks like this?
function(){ var sheet, bool, head = doc. Head || doc. Element, style = document. create. Element("style"), impl = document. implementation || { has. Feature: function() { return false; } }; style. type = 'text/css'; head. insert. Before(style, head. first. Child); sheet = style. sheet || style. Sheet; var support. At. Rule = impl. has. Feature('CSS 2', '') ? function(rule) { if (!(sheet && rule)) return false; var result = false; try { sheet. insert. Rule(rule, 0); result = (/src/i). test(sheet. css. Rules[0]. css. Text); sheet. delete. Rule(sheet. css. Rules. length - 1); } catch(e) { } return result; } : function(rule) { if (!(sheet && rule)) return false; sheet. css. Text = rule; return sheet. css. Text. length !== 0 && (/src/i). test(sheet. css. Text) && sheet. css. Text. replace(/r+|n+/g, ''). index. Of(rule. split(' ')[0]) === 0; }; bool = support. At. Rule('@font-face { font-family: "font"; src: url(data: , ); }'); head. remove. Child(style); return bool; };
Widely used
Test for @font-face
function(){ var sheet, bool, head = doc. Head || doc. Element, style = document. create. Element("style"), impl = document. implementation || { has. Feature: function() { return false; } }; style. type = 'text/css'; head. insert. Before(style, head. first. Child); sheet = style. sheet || style. Sheet; var support. At. Rule = impl. has. Feature('CSS 2', '') ? function(rule) { if (!(sheet && rule)) return false; var result = false; try { sheet. insert. Rule(rule, 0); result = (/src/i). test(sheet. css. Rules[0]. css. Text); sheet. delete. Rule(sheet. css. Rules. length - 1); } catch(e) { } return result; } : function(rule) { if (!(sheet && rule)) return false; sheet. css. Text = rule; return sheet. css. Text. length !== 0 && (/src/i). test(sheet. css. Text) && sheet. css. Text. replace(/r+|n+/g, ''). index. Of(rule. split(' ')[0]) === 0; }; bool = support. At. Rule('@font-face { font-family: "font"; src: url(data: , ); }'); head. remove. Child(style); return bool; };
if (Modernizr. fontface){ … }
There is no standard screen resolution
This is not the standard image by Nic’s events’
More modern, but not the standard image by Hire London
Smaller, but not the standard image by Randolf Jorberg
Previous Microsoft. com
New Microsoft. com
device-width
@media
Breakpoint timeline
Decide whether different is ok IE 6 IE 10
Pixel perfect isn't always required IE 6 IE 10
Use the right tool for the job
Microsoft logo
data-resolved="true" <img alt="Microsoft" src="lg-2 x. png" data-source-index="1" />
data-disable-swap-below data-defer
data-disable-swap-below data-defer data-resolved="true" <img alt="Alt text" src="1600 x 540. jpg" data-source-index="0" />
'wf_Segoe. UI' local('Segoe UI'), local('Segoe WP'),
'wf_Segoe. UI'
'MSHPIcons. Regular'
'MSHPIcons. Regular' 'e 003' 'e 004'
'menu. png' 'search. png'
- Dậy thổi cơm mua thịt cá
- Cơm
- European diagnostic manufacturers association
- Builders hardware manufacturers association
- Nec derating table
- Pmmai
- Indian pharma association
- Reflective insulation manufacturers association
- There was there were ile ilgili cümleler
- National electrical installation standards
- Uscg mic
- Gyroplane vs gyrocopter
- Sai paradise machine tools
- Manufacturers seeking distributors
- Vesuvius refractory
- Maibec shingle colors
- Car bumper height
- Ecdysterone for sale
- Wholesale p-cable seismic
- Server manufacturers
- Ceramic fiber manufacturer
- Center pivot irrigation design
- Elisa kraft
- Husky plastic injection molding manufacturers
- Booster auto manufacturers
- Peptide api manufacturing
- Cathode mesh manufacturers
- Lost wax process manufacturers
- International federation of pharmaceutical manufacturers
- Future in the past continuous
- Destilbe
- There were ____ reported sharps exposures at uf in 2020
- All the beds were
- The eyes were watching god chapter 13 summary
- Who wrote the three little pigs
- Once upon a time there were three little pigs
- Blue peopl
- Free states in 1819
- Once upon a time there was three little pigs
- Three little pigs once upon a time
- In 2009 there were 1570 bears
- And then there were none mystery elements
- And then there were none literary devices
- And then there were none literary analysis
- There were ninety and nine
- Once upon a time there lived a king who was a fine man
- And then there were none unit plan
- Once upon a time goldilocks
- Were you there
- Once upon a time there were three little pigs
- If there were no subjunctive mood
- George and tamara doesn't want to see that movie
- If god were loving there would be no suffering
- Billy once upon a time
- 3 bowls of porridge
- Once there were brook trout in the streams in the mountains
- Job were you there
- When i needed a neighbour were you there
- There were two in the bed and the little one said
- Bài đọc there was a man who had four sons
- There was a man who had four sons
- There was a man who had four sons
- There isn't any book on the table
- Why were there no coureurs des bois before 1663
- In our town there were many
- What were the 11 free states
- There were 4 pears in the basket
- In 1971 there were 294 105 females
- Slavery states map
- During the great depression there were many wanderers
- Chapter 8 summary and then there were none
- Swine breeding rods
- National association of patent practitioners
- National association of small and medium enterprises
- National association of hbcu title iii administrators
- Nllea
- National association of residential property managers
- Anu
- National association of deans and directors
- National association of catholic nurses
- National air filtration association
- Ukrainian national association
- National association of catholic nurses
- National association of special education teachers
- National ffa alumni association was formed
- National association of state approving agencies
- National burglar and fire alarm association
- History of the ffa emblem
- National fire protection association
- Private equity as an asset class
- National sheriffs association
- National association of financial aid administrators
- National peer helpers association