• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
The Wonderful World of Bugs
 

The Wonderful World of Bugs

on

  • 2,916 views

The talk I gave on CSS bug hunting during @media 2006

The talk I gave on CSS bug hunting during @media 2006

Statistics

Views

Total Views
2,916
Views on SlideShare
2,890
Embed Views
26

Actions

Likes
0
Downloads
63
Comments
0

6 Embeds 26

http://www.fredericopeter.com.br 12
http://www.linkedin.com 9
https://www.linkedin.com 2
http://www.m3fe-testing.railsdevelopment.de 1
http://latichernatalia.blogspot.com 1
http://www.slideshare.net 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    The Wonderful World of Bugs The Wonderful World of Bugs Presentation Transcript

    • The Wonderful World of Bugs by Andy Budd of Clearleft.com 1
    • Hacks by Andy Budd of Clearleft.com 2
    • How many people feel they use too many hacks? and how many people feel that use too few? by Andy Budd of Clearleft.com 3
    • Hacks have been given a bad name… …literally by Andy Budd of Clearleft.com 4
    • Wouldn’t be here today if it wasn’t for CSS hacks by Andy Budd of Clearleft.com 5
    • Sadly, hacks have become synonymous with CSS by Andy Budd of Clearleft.com 6
    • It doesn’t have to be this way… by Andy Budd of Clearleft.com 7
    • Bug Fixing by Andy Budd of Clearleft.com 8
    • Browsers are buggy… …but not as buggy as we’d like to think by Andy Budd of Clearleft.com 9
    • Bugs come from lots of places •Syntactic errors •Specificity clashes •Overly complicated code •Browser bugs •Incomplete understanding of the CSS specification by Andy Budd of Clearleft.com 10
    • Andy’s first law of bug fixing… …keep it simple (stupid) by Andy Budd of Clearleft.com 11
    • Andy’s second law of bug fixing… …always assume it’s your fault by Andy Budd of Clearleft.com 12
    • Andy’s third law of bug fixing… …prevention is better than cure by Andy Budd of Clearleft.com 13
    • Andy’s fourth law of bug fixing… …offence is the best form of defence by Andy Budd of Clearleft.com 14
    • Andy’s fifth law of bug fixing… …isolate the problem by Andy Budd of Clearleft.com 15
    • Andy’s sixth law of bug fixing… …use hacks only as a last resort by Andy Budd of Clearleft.com 16
    • Using Hacks Sensibly by Andy Budd of Clearleft.com 17
    • Types of Hack •Hacks that rely on parsing bugs •Hacks that rely on unsupported or misinterpreted CSS by Andy Budd of Clearleft.com 18
    • Good hacks… • Are valid • Only target older browsers • Are ugly? by Andy Budd of Clearleft.com 19
    • Responsible hacking • Use hacks sparingly • Only add a small number of hacks to your main CSS • Better to filter hacks into separate stylesheets • Always comment your hacks by Andy Budd of Clearleft.com 20
    • Questions? by Andy Budd of Clearleft.com 21
    • Thanks you! http://www.andybudd.com/atmedia06 by Andy Budd of Clearleft.com 22