Internet Explorer 9 Guide for Developers
Cascading Style Sheets, Level 3 (CSS3)Internet Explorer 9 has more support for Cascading Style Sheets (CSS) than any prior Microsoft browser. Continuing on the work that was done in Internet Explorer 8—where Internet Explorer became fully compliant with the CSS2.1 specification—Internet Explorer 9 adds support for many components of CSS3.Note It is important to remember that many CSS3 modules are still in the Working Draft or Last Call stages. Until they reach the Candidate Recommendation stage, they could change significantly. For more information, see the latest CSS3 draft modules .CSS3 2D TransformsInternet Explorer 9 adds support for CSS3 2D Transforms . CSS 2D Transforms enables elements that are rendered by CSS to be transformed in two-dimensional space.Internet Explorer 9 supports the following 2D Transforms properties:
- The -ms-transform property applies one or more two-dimensional transformation function to an element.
- The -ms-transform-origin property establishes the origin of transformation for an element. This property is useful when you want to change the default origin (the center).
- The matrix(a,b,c,d,e,f) function specifies a 2D transformation in the form of a transformation matrix of six values (a through f).
- The translate(tx,[ty]) function specifies a 2D translation by the vector [tx,ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter. If ty is not specified, its value is zero. (Translation-value parameters can be either percentages or lengths.)
- The translateX(tx) function specifies a translation by the given amount in the x direction.
- The translateY(ty) function specifies a translation by the given amount in the y direction.
- The scale(sx,[sy]) function specifies a 2D scale operation by the [sx,sy] scaling vector that is described by the two parameters. If the second parameter is not provided, it takes a value equal to the first.
- The scaleX(sx) function specifies a scale operation by using the [sx,1] scaling vector, where sx is given as the parameter.
- The scaleY(sy) function specifies a scale operation by using the [1,sy] scaling vector, where sy is given as the parameter.
- The rotate(angle) function specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.
- The skewX(ax) function specifies a skew transformation along the x-axis by the given angle.
- The skewY(ay) function specifies a skew transformation along the y-axis by the given angle.
- The skew(ax,[ay]) function specifies a skew transformation along the x- and y-axes. The first angle parameter specifies the skew on the x-axis. The second angle parameter specifies the skew on the y-axis. If the second parameter is not given, a value of zero is used for the y angle (that is, no skew on the y-axis).
- The first value indicates the horizontal position (the position along the x-axis), and can be negative. This value can be a length value (in any of the supported length units ), a percentage (of the total box length), or one of the following three keywords: left (equal to 0% or a zero length), center (equal to 50% or half the box length), or right (equal to 100% or the full box length).
- The second value indicates the vertical position (the position along the y-axis), and can be negative. This value can be a length value (in any of the supported length units ), a percentage (of the total box height), or one of the following three keywords: top (equal to 0% or a zero height), center (equal to 50% or half the box height), or bottom (equal to 100% or the full box height).
- background-color : Supports CSS3 Color.
- background-image : Supports multiple values and SVG images.
- background-repeat : Supports multiple values, plus the space and round values.
- background-attachment : Supports multiple values, plus the local value.
- background-position : Supports multiple values.
- background : Updated for CSS3.
- border-color : Supports CSS3 Color.
- border-radius (The value given will specify the radius for all four corners of a box.)
border:border:border: 10px blue double;padding: 24px;width: 400px;height: 125px;This will generate the following when applied to a text block.
CSS3 Color ModuleInternet Explorer 9 adds support for the CSS3 Color module. This module includes support for the RGBA, HSL, and HSLA color models; the opacity property; and the currentColor keyword. Internet Explorer 9 also expands support for the transparent keyword.The RGB color model has been extended to include an alpha channel, or transparency. The format of an RGBA value isrgba(red,green,blue,alpha).The red, green, and blue components are identical to those of the RGB color model, and are expressed as integers or percentages. The alpha component is expressed as a value between 0.0 (completely transparent) and 1.0 (completely opaque).For instance, to set the background color to red with 50% transparency, you can include either of the following two CSS declarations in your style sheet:background-color: rgba(255,0,0,0.5);background-color: rgba(100%,0%,0%,0.5);Be aware that though RGB values support hexadecimal notation, RGBA values do not.Internet Explorer 9 supports the CSS3 Color module’s hue-saturation-lightness (HSL) color values. In the HSL color model, “hue” is defined as the indicated color’s angle on the color wheel (for instance, red is 0 or 360, green is 120, and blue is 240). “Saturation” and “lightness” are expressed as percentages. For instance, the following CSS declaration defines a red background.background-color: hsl(0,100%,50%);Internet Explorer 9 also extends the HSL color model with an alpha channel. As with the RGBA model, the alpha channel is expressed as a value between 0.0 and 1.0. For instance, the following CSS declaration defines a red background with 50% transparency.background-color: hsla(0,100%,50%,0.5);Internet Explorer 9 adds the CSS3 Color module’s opacity property, which enables you to control transparency at the element level. Similar to the alpha component of RGBA values, the opacity value is a number that ranges between 0.0 (completely transparent) to 1.0 (completely opaque). The opacity property is available on all elements.The following example shows the opacity property on the color navy, with opacity values in increments of 0.2 from 0 to 1.<div class="opacity_sample"> <div style="background: navy; opacity: 0;"></div> <div style="background: navy; opacity: 0.2;"></div> <div style="background: navy; opacity: 0.4;"></div> <div style="background: navy; opacity: 0.6;"></div> <div style="background: navy; opacity: 0.8;"></div> <div style="background: navy; opacity: 1;"></div> </div>This example generates the following output for a 25×125-pixel div.
The CSS3 Color module makes the list of color keywords for CSS identical to that for SVG 1.0. Though SVG support is new in Internet Explorer 9, this change was implemented in Internet Explorer 8.Internet Explorer 9 introduces the CSS3 Color module’s currentColor keyword, which indicates the current value of the color property on any property that accepts color. When set on the color property itself, currentColor is equivalent to color:inherit.Internet Explorer 9 also expands the use of the transparent keyword beyond the border-color and background-color properties. It can now be used with any property that accepts the color property.CSS3 Fonts ModuleBetter typographic control has been a consistent feature of each new version of CSS. At the same time, the lack of an interoperable web font format can be frustrating. Internet Explorer 9 enhances existing support for CSS fonts to provide compliance with the CSS3 Fonts Module . It also adds support for the Web Open Font Format (WOFF) and raw TrueType fonts.The font-weight property has been updated so that Internet Explorer 9 calculates font weights as specified in the CSS3 Fonts Module.The font-size property has been updated so that each keyword’s scaling factor is as defined in the CSS3 Fonts Module. Also, keywords and HTML heading sizes are now mapped as specified in the CSS3 Fonts Module.The font-stretch property is new in Internet Explorer 9, and selects a normal, condensed, or expanded face from a font family. This property is also available as a @font-face rule descriptor.The @font-face rule enables font linking. That is, a style sheet can reference a specific font file for the browser to download and use. For instance, consider the following markup.@font-face { font-family: MyFont; src: url(http://mysite/fonts/MyFont.ttf) format("embedded-opentype"); } p {font-family: MyFont, serif; }In this example, the @font-face rule instructs the browser to go to the URL specified in the src descriptor to download the font file that contains the specified font. In Internet Explorer 8 and earlier, the src descriptor was incorrectly ignored if it contained an optional formatstring, such as the one shown in the previous example. In Internet Explorer 9, the src descriptor is parsed as expected.Internet Explorer 9 also adds support for the unicode-range descriptor, which enables you to specify the range of Unicode characters supported by a given font. For instance, the following code example specifies the range of basic ASCII characters.@font-face { font-family: MyFont; src: url(http://mysite/fonts/MyFont.ttf); unicode-range: U+0-7F; }Microsoft created Internet Explorer 9 to maximize web font choice. To that end, we have done the following:- Ensured backward compatibility with continued support for Embedded OpenType (EOT)
- Added support for the Web Open Font Format (WOFF), which repackages sfnt-based font files (TrueType, OpenType, and Open Font Format fonts) by compressing each table individually using a ZIP compression format
- Added support for installable (no embedding permission bits set) raw TrueType fonts
- deg: degrees (angle unit)
- grad: grads (angle unit)
- rad: radians (angle unit)
- turn: turns (angle unit)
- ms: milliseconds (time unit)
- s: seconds (time unit)
- rem: font size of the root element (relative length unit)
- vw: viewport width (relative length unit)
- vh: viewport height (relative length unit)
- vm: smaller of viewport width or height (relative length unit)
- ch: zero-width (width of the zero glyph in the rendering font; relative length unit)
- calc(): calculates values using arithmetic operators and is usable wherever length values are allowed

Microsoft sets Windows 8 price, opens for pre-order
Microsoft Corp opened its Windows 8 operating system for pre-orders on Friday, setting the price for an upgrade to the full version of the software at $70 for a DVD pack.
Users can also wait for launch on October 26 to download the system onto their computers for $40, an offer price that will expire at the end of January. PCs running Windows XP, Vista and Windows 7 will be able to upgrade to Windows 8.Shoppers can reserve the software pack at Microsoft’s own stores, Amazon.com, Best Buy, Staples and elsewhere. Microsoft has not yet announced the price of the full software to install from scratch, as opposed to the upgrade. The current price for a comparable version of Windows 7 is $200.
Any customer who buys, or already bought, a Windows 7 PC between June 2 and the end of January 2013 will be able to get an upgrade to Windows 8 Pro for $15, a move designed to prevent a drop-off in PC sales before the launch of Windows 8.
Microsoft also said PC makers such as Acer, Asustek, Dell, HP, Samsung and Sony were also now taking pre-orders for machines with Windows 8 pre-installed.
The world’s largest software company did not mention its own Surface tablet PC, which is expected on the market at the same time as Windows 8. Microsoft has not revealed the price of the product it hopes will challenge Apple Inc’s iPad.
LAHORE: At least 50 Islamic scholars belonging to ‘Sunni Ittehad Council’ on Thursday declared Taliban’s attack on Pakistani children’s rights activist Malala Yousafzai as un-Islamic, DawnNews reported.

Sunni Ittehad Council represents ‘Barelvi‘ sect of Islam which is influenced by Sufism and defends the traditional Sufi practices from the criticisms of Islamic movements like the ‘Deobandi’, ‘Wahhabi’ and ‘Ahl al-Hadith’.The scholars issued a combined ‘fatwa’ (Islamic ruling) in Lahore which said that the Taliban’s interpretation of Islam was incorrect and was deviant from the actual interpretation of the Shariah.
The fatwa added that Taliban were misguided and their mindset was driven by ignorance.
“Islam does not stop women from acquiring education and by attacking Malala the Taliban have crossed the limits of Islam,” the fatwa added.
“Prophet Muhammad (pbuh) had regarded the sanctity of Muslim’s life and property more important than the sanctity of the ‘Kaaba’ (sacred Muslim place),” adding that the fatwa stated, “Murder of one innocent human being is equivalent to murder of entire humanity.”The Islamic ruling added that United States was the enemy of Islam and Pakistan; any kind of cooperation with the US was not in compliance with the Shariah.In response to Taliban’s interpretation of killing females for the greater good of the religion, the scholars said that Islam discourages killing of the females. Adding that, they said, “Even apostate women are not allowed to be killed in Islam.”
The assassination attempt on the life of the young National Peace Award winner has drawn widespread condemnation from the government, political parties and civil society groups, terming it a bid to silent voice for peace and education.The banned militant organisation Tehrik-i-Taliban Pakistan (TTP) had issued a statement Wednesday,using Islamic Shariah to defend the attack.
Pakistani Taliban had said that although they do not believe in attacking women, “whom so ever leads a campaign against Islam and Shariah is ordered to be killed by Shariah.”
TTP spokesman Ehsanullah Ehsan had argued that it is “not just allowed … but obligatory in Islam” to kill such a person involved “in leading a campaign against Shariah and (who) tries to involve whole community in such campaign, and that personality becomes a symbol of anti-Shariah campaign.”Malala had won international recognition for highlighting Taliban atrocities in Swat with a blog for the BBC three years ago, when the Islamist militants burned girls’ schools and terrorised the valley.
Her struggle resonated with tens of thousands of girls who were being denied an education by the militants across northwest Pakistan, where the government has been fighting the local Taliban since 2007.
KARACHI: Muttahida Qaumi Movement (MQM) chief Altaf Hussain on Thursday gave 24 hours ultimatum to all top muftis and ulema (clerics) of the country to openly denounce the cowardly attack on young Pakistani children’s rights activist Malala Yousafzai or else he will ‘expose’ them, DawnNews reported.

In a statement, issued by the party, Hussain vowed to expose all clerics, who will fail to condemn the attack by banned Tehrik-i-Taliban Pakistan (TTP), in his scheduled speech at the party’s workers convention on Sunday.
The MQM chief had declared the attack on Malala as an attack on all humanity and said that perpetrators of the vile act should be swiftly brought to justice.Malala along with two other schoolmates sustained bullet injuries when armed assailants opened fire on their school van in Mingora city, Swat on Tuesday.The TTP had taken responsibility for attacking the national peace award winner on the same day.The Taliban, who have killed thousands of people across Pakistan in the last five years and destroyed hundreds of girls’ schools, have issued a statement saying that any female who opposes them should be killed.
No comments:
Click Here To add Comment
Post a Comment
Blogger Widgets