From 608ec1801aa5867c0c7f3c1b4ed1c3d2d9f3b31d Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 4 Oct 2011 12:52:18 -0700 Subject: [PATCH] Added (pretty sparse) README. --- README.md | 21 +++++++++++++++++++++ debugCSS.css | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b02d52f --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +License +--- +Copyrights for code authored by Yahoo! Inc. is licensed under the following terms: +MIT License +Copyright (c) 2011 Yahoo! Inc. All Rights Reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +What is this? +--- +debugCSS is meant to be loaded on an existing page to highlight potentially broken, malformed or legacy (X)HTML. + +Not all "errors" are created equally, so they are color coded to highlight severity. Green is "probably not a big problem", yellow is "worth looking at" and red is "you really should fix this." + +About +--- +Each condition is specified in three areas: + - Setting up the :after area for display (trying to reset common styles like colors, font sizes, etc). + - Specifying the color severity (green, yellow, red) and content (which is the error or warning message to be displayed). + - Creating the outline around the offending element according to it's color severity. \ No newline at end of file diff --git a/debugCSS.css b/debugCSS.css index 7db8af7..39d5480 100644 --- a/debugCSS.css +++ b/debugCSS.css @@ -15,8 +15,8 @@ /*****************/ /* debugCSS is meant to be loaded on an existing page to highlight potentially - broken, malformed or legacy code. Not all "errors" are created equally, so - they are color coded to highlight severity. Green is "probably not a big + broken, malformed or legacy (X)HTML. Not all "errors" are created equally, + so they are color coded to highlight severity. Green is "probably not a big problem", yellow is "worth looking at" and red is "you really should fix this." */